{volist name="list" id="rs"}
<div class="aui-list-item bg-f6">
	<div class="aui-media-list-item-inner">
        <div class="aui-list-item-media">
            <img src="{:img($rs['user_head_url'], 100, 100)}" >
        </div>
        <div class="aui-list-item-inner bg-white">
            <div class="aui-list-item-text">
                <div class="aui-list-item-title aui-ellipsis-1" style="width: 100%;">
                    <p style="vertical-align:middle;color: #abaaab;font-size: 0.7rem;">{$rs['is_anonymous'] ? '匿名' : $rs['user_name']}</p>
                </div>
                <div class="aui-list-item-right">{$rs['time_ago_desc']}</div>
            </div>
            <a class="aui-list-item-text " href="{:url('Question/detail', array('ask_id' => $rs['ask_id']))}" style="display: block;">
                <h4 class="h4">{$rs['title']}</h4>
                <div class="items-body aui-ellipsis-3">
                    {notempty name="rs.best_info"}
                        <div class="ask-anwser" style="word-break: break-all;word-wrap: break-word;white-space: pre-wrap;">最佳答案：{:str_cut(strip_tags($rs['best_info']['content']), 300)}</div>
                    {else/}
                        {:str_cut(strip_tags($rs['content']), 300)}
                    {/notempty}
                </div>
            </a>
            <div class="aui-list-item-text" style="display: block;margin-top: 0.5rem;font-size: 0.75rem;text-align:right;">
                <span style="color: #abaaab;"><i class="icon-answer"></i>{$rs['answer_num']}</span>
                <span style="color: #abaaab;"><i class="icon-liulan"></i>{$rs['view_num']}</span>
            </div>
        </div>
    </div>
</div>
{/volist}
{empty name="list"}
<div class="empty">
    <i class="icon-empty"></i>
    <p class="empty-title">没有数据</p>
</div>
{/empty}